java wait 2 seconds

58

java utils wait for seconds -

try        
{
    Thread.sleep(1000);
} 
catch(InterruptedException ex) 
{
    Thread.currentThread().interrupt();
}

Comments

Submit
0 Comments